package com.example.jobback.mapper;

import com.example.jobback.po.ProjectExperience;
import com.example.jobback.resp.seeker.experience.project.ProjectExperienceResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @InterfaceName: ProjectExperienceMapper
 * @Description: 项目经历mapper
 * @Author: lhb
 * @Date: 2025/5/22
 */
@Mapper
public interface ProjectExperienceMapper {

    List<Long> getSeekerProExperienceIds(Long userId);

    int deleteProjectExperienceById(Long id,Long userId);

    int insertProjectExperience(@Param("element") ProjectExperience element);

    int editProjectExperience(@Param("element")ProjectExperience element);

    List<ProjectExperienceResp> getProjectExperience(Long userId);
}
